<?php

declare(strict_types=1);

namespace App\Model;


/**
 * @property int $id
 * @property int $uid
 * @property int $type 0 礼物 1其他 2黄金锤 3雷神之锤
 * @property int $gift_id 礼物id
 * @property int $num 数量
 * @property string $name 名称
 * @property string $photo_url 图片url
 */
class Backpack extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'tb_backpack';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = [];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'uid' => 'integer', 'type' => 'integer', 'gift_id' => 'integer', 'num' => 'integer'];
}
